import { createPinia } from 'pinia'
import type { App } from 'vue'
import { useHomePageStore } from '@/stores/home-page'
const pinia = createPinia()
const registerStore = (app: App) => {
  app.use(pinia)
  const homePageStore = useHomePageStore()
  homePageStore.getHomePageMenu()
  homePageStore.loadLocalCacheAction()
}
export default registerStore
